import Vue from 'vue'
import VueRouter from 'vue-router'
import Index from '../views/index.vue'
import objModul from '../views/loadeOBJModul.vue'
import vue3dModel from '../views/vue-3d-model.vue'
import tmp from '../views/tmp.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'index',
    component: Index
  },
  {
    path:'/3d',
    name:'objModul',
    component:objModul
  },
  {
    path:'/tmp',
    name:'tmp',
    component:tmp,
  },
  {
    path:'/vue3dModel',
    name:'vue3dModel',
    component:vue3dModel
  }
]

const router = new VueRouter({
  routes
})

export default router
